#pragma once

#include <cstddef>
#include <string>
#include <string_view>

namespace ycspice::preprocess {


    class Port {
    public:
        Port(std::string name, std::size_t index);

        auto name() const -> std::string_view { return this->_name; }
        auto index() const -> std::size_t { return this->_index; }
    
    private:
        std::string _name;
        std::size_t _index;
    };


}